Activate status icons on single click
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 26 Oct 2005 03:18:09 +0000 (03:18 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 26 Oct 2005 03:18:09 +0000 (03:18 +0000)
ChangeLog
ChangeLog.pre-2-10
gtk/gtkstatusicon.c

index 91cfc66d34eeba7ad96e14a1888b9b5766d6ef52..5b5fd10a7a65a41f6894c8735a93f0a776dc87e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkstatusicon.c: Emit activate on single-click,
+       not on double-click, change proposed by Milosz Derezynski.
+
 2005-10-25  Kristian Rietveld  <kris@gtk.org>
 
        Fixes #311955, reported by Markku Vire; and a lot more.
index 91cfc66d34eeba7ad96e14a1888b9b5766d6ef52..5b5fd10a7a65a41f6894c8735a93f0a776dc87e1 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkstatusicon.c: Emit activate on single-click,
+       not on double-click, change proposed by Milosz Derezynski.
+
 2005-10-25  Kristian Rietveld  <kris@gtk.org>
 
        Fixes #311955, reported by Markku Vire; and a lot more.
index 30f0f78e828d33207f391f73ccfec3c2bcb82940..19531ea9bc25b9f26040d270f1ebde4daece6c3f 100755 (executable)
@@ -702,7 +702,7 @@ static gboolean
 gtk_status_icon_button_press (GtkStatusIcon  *status_icon,
                              GdkEventButton *event)
 {
-  if (event->button == 1 && event->type == GDK_2BUTTON_PRESS)
+  if (event->button == 1 && event->type == GDK_BUTTON_PRESS)
     {
       emit_activate_signal (status_icon);
       return TRUE;